<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>北大青鸟办公自动化管理系统</title>
    <link href="../css/style.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript">
        function pass() {
            var myForm = document.getElementById("myForm");
            myForm.action = "checkResultAction_pass.action";
            myForm.submit();
        }

        function back() {
            var myForm = document.getElementById("myForm");
            myForm.action = "checkResultAction_back.action";
            myForm.submit();
        }

        function sendUpper() {
            var myForm = document.getElementById("myForm");
            myForm.action = "checkResultAction_sendUpper.action";
            myForm.submit();
        }
    </script>
</head>
<body>
<div class="top">
    <div class="global-width">
        <img src="../Images/logo.gif" class="logo"/>
    </div>
</div>
<div class="status">
    <div class="global-width">
        <span class="usertype">【登录角色：${EMP.sysPosition.nameCn}】</span>${EMP.name}你好！,您的上级是：${EMP.sysDepartment.sysEmployee.name}
        ！ 欢迎访问青鸟办公管理系统！
        <a href="empAction!logout.action">注销</a>
    </div>
</div>
<div class="main">
    <div class="global-width">


        <%@include file="../menu.jsp" %>

        <div class="action">
            <div class="t">审核报销单</div>
            <div class="pages">
                <table width="90%" border="0" cellspacing="0" cellpadding="0" class="addform-base">
                    <caption>基本信息</caption>
                    <tr>
                        <td width="36%">填写人：${sessionScope.bizClaimVoucher.sysEmployeeByCreateSn.name}</td>
                        <td width="64%">填报时间：${sessionScope.bizClaimVoucher.createTime} </td>
                    </tr>
                    <tr>
                        <td>总金额：${sessionScope.bizClaimVoucher.totalAccount}</td>
                        <td>状态：已提交</td>
                    </tr>
                </table>
                <p>&nbsp;</p>
                <table width="90%" border="1" cellspacing="0" cellpadding="0" class="addform-base">
                    <tr>
                        <td>项目</td>
                        <td>金额</td>
                        <td>费用说明</td>
                    </tr>

                    <c:forEach items="${sessionScope.bizClaimVoucherDetails}" var="b">
                        <tr>
                            <td>${b.item}</td>
                            <td>￥${b.account}</td>
                            <td>${b.des}</td>
                        </tr>
                    </c:forEach>

                </table>
                <p>&nbsp;</p>
                <p>
                    -------------------------------------------------------------------------------------------------------------</p>
                <table width="90%" border="0" cellspacing="0" cellpadding="0" class="addform-base">
                    事由：<br/>${bizClaimVoucher.event}
                </table>
                <p>&nbsp;</p>
                <form id="myForm" name="myForm" method="post">
                    <input type="hidden" name="checkResult.sheetId" value="161"/>
                    <table width="90%" border="0" cellspacing="0" cellpadding="0" class="addform-base">
                        <tr>
                            <td>审核意见：</td>
                        </tr>
                        <tr>
                            <td>
                                <textarea name="checkResult.comment" id="textarea" cols="55" rows="5"></textarea>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4" class="submit">
                                <input type="button" name="button" id="button" value="通过" class="submit_01"
                                       onclick="pass()"/>
                                <input type="button" name="button" id="button" value="驳回" class="submit_01"
                                       onclick="back()"/>

                            </td>
                        </tr>
                    </table>
                </form>
            </div>
        </div>
    </div>
</div>
<div class="copyright">Copyright &nbsp; &copy; &nbsp; 北大青鸟</div>

</body>
</html>